home *** CD-ROM | disk | FTP | other *** search
- SOZOBON-C - a Publicly Distributable C Compiler
- Version 1.01
- Amiga Port: Jeff Lydiatt
-
-
- COPYRIGHT NOTICE
-
-
-
- Sozobon-C is copyrighted (c) 1988 by Sozobon, Limited. The several authors
- who developed this c system have granted permission to make the software
- freely redistributable. Here's the pertinent notice from Sozobon:
-
- Permission is granted to anyone to use this software for any purpose
- on any computer system, and to redistribute it freely, with the
- following restrictions:
- 1) No charge may be made other than reasonable charges for reproduction.
- 2) Modified versions must be clearly marked as such.
- 3) The authors are not responsible for any harmful consequences
- of using this software, even if they result from defects in it.
-
- The package also makes use of Charlie Gibbs A68k assembler, a freely
- redistributable Linker, Blink by the Software distillery, and some software
- initially contributed by Fred Fish. Thanks Fred.
-
-
- SYNOPSIS
-
-
-
- A Publicly Redistributable C Compiler system targetted for the Amiga's
- operating system. This is an update from the C compiler found on Fred
- Fish disk #171. Features include:
-
- o A Kernighan and Richie compatible C compiler which generates
- motorola-compatible assembler source files suitable for Charlie
- Gibbs A68k assembler.
-
- o An optimizer that works on the assembler output by the compiler.
-
- o Charlie Gibb's A68k assembler v2.61.
-
- o Blink v6.7, a freely redistributable linker.
-
- o A freely redistributable version of Amiga.lib called Ami.lib.
-
- o A fairly comprehensive freely redistributable support library
- for commonly called C functions like printf(), scanf(), strcpy()
- etc.
-
- o CC - a front end for the compiler that makes it simpler to
- compile, assemble and link programs.
-
- o Make - like the unix utility make.
-
- You will also need to order the include files that map the Amiga's
- operatings system from Commodore if you want to compile any heavy duty
- programs that need access to the Amiga's nicer features or it's hardware.
- A kit is available from Commodore for $20 - see the ReadMe file for more on
- this.
-
-
- SETUP
-
-
-
- For a one or two disk system, I suggest you make a stripped down version
- of your workbench by removing the system directory and all the demos.
-
- o copy the Sozobon-C_v1.01/c directory contents to the workbench
- c directory.
-
- o make a directore called "libs" in the root directory. Copy the
- Sozobon-C_v1.01/lib directory contents to your workbench lib dir-
- ectory.
-
- o make a directory called "include" in the root directory. Copy
- the Sozobon-C_v1.01/include into the new workbench include
- directory.
-
- o in your startup-sequence in your s directory, add the commands
-
- assign ZC: df0:
- stack 20000
- path add ZC:c
-
- Another alternative is to simply name the Workbench disk "ZC"
- using the relabel command and skip the assign command.
-
- o if you have commodore's include files, you can also copy these
- to the workbench include directory. You may want to remove all
- the assembler include files first as they won't be needed..
- These files all end with ".i". Don't forget to use the all option -
- "copy commodore:include pdc:include all" to retain the directory
- structure!
-
- For a hard drive system (lucky guy), I would suggest making a separate
- directory called ZC on your hard drive, and simply copy the entire ZC
- disk to that directory using the all option. Add the commands:
-
- assign ZC: DHx:ZC
- stack 20000
- path add ZC:c
-
- to your startup-sequence. Replace DHx: by the device name for your hard
- drive of course!
-
- Be C'ing you.
- Jeff.
-